package com.bussiness.system.api;


import org.springframework.web.bind.annotation.*;
import com.bussiness.system.form.OssEntityAuditForm;
import com.bussiness.system.query.OssEntityQuery;
import com.bussiness.system.util.Result;

/**
* 文件上传
*
* @author xlr
* @email 402701653@qq.com
* @date 2018-09-04 00:34:01
*/
@RequestMapping("null/oss")
public interface OssControllerApi {

    /**
    * 列表
    */
    @PostMapping("/list")
    public Result list(OssEntityQuery ossQuery);

    /**
    * 信息
    */
    @GetMapping("/info/{id}")
    public Result info(Long id);
    /**
    * 保存
    */
    @PostMapping("/save")
    public Result save(OssEntityAuditForm ossForm);

    /**
    * 修改
    */
    @PutMapping("/update")
    public Result update(OssEntityAuditForm ossForm);

    /**
    * 删除
    */
    @DeleteMapping("/delete")
    public Result delete(Long[] ids);

}
